package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;

public interface SetmealService {

    void add(Setmeal setmeal, Integer[] checkgroupIds);

    PageResult findPage(QueryPageBean queryPageBean);

    Setmeal findById(Integer setmealId);

    List<Integer> findcheckgroupIdsBysetmealId(Integer setmealId);

    void edit(Setmeal setmeal,Integer[] checkgroupIds);

    void delete(Integer setmealId);

    List<Setmeal> getAllSetmeal();

    Setmeal findOne(Integer id);
}
